package com.ruoyi.framework.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 套餐级别对象 lf_package_level
 * 
 * @author ruoyi
 * @date 2020-07-25
 */
public class PackageLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务领取id */
    private Long id;

    /** 会员级别 */
    @Excel(name = "会员级别")
    private String name;

    /** 套餐金额 */
    @Excel(name = "套餐金额")
    private BigDecimal amount;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 每日任务次数 */
    @Excel(name = "每日任务次数")
    private Long taskNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setTaskNum(Long taskNum) 
    {
        this.taskNum = taskNum;
    }

    public Long getTaskNum() 
    {
        return taskNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("amount", getAmount())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("taskNum", getTaskNum())
            .toString();
    }
}
